Skip to main content

Non-Linear Animations

Let's Learn How to Bake Non-Linear Animations Into GTLFs. 4-1-22

info

15 Minute Read 🕗  |  Step by Step Guide 📝

1 out of 5

ProViz supports Non-Linear animations in the GLTF file format. This form of animation is supported as the platform is logic based--this means when an event is triggered a Non-Linear animation track will be triggered as a result.

Animation tracks can be baked into your model via Blender. Multiple animation tracks are supported and will be reconginzed in ProViz. Each animation track will be given the same name you assinged inside of Blender.


Let's Animate

Open Blender

1. Create a new project, add an object.
(You can download Blender Here.)


Alt Text


Set your timeline length
2. I will be making a short animation which loops so I'm going to set mine to 60 frames.


Add a Keyframe
3. Press "I" to show "Insert Keyframe Menu" and select which transform option you will be animating ⬇️
Click Here for more information on "Insert Keyframe Menu".

Alt Text

Animation Workflow

Move timeline forward, pause animation, apply your changes to the trasnform property of your choice:
(Location, Scale, Rotation, etc)


Look at the yellow dots on our timeline below. These dots are the keyframes that we applied to our model. You can click one and drag it to reposition its location on the timeline.

Alt Text


note

Under the transform panel you will see the transform option which you keyframed turn yellow. Unapplied keyframes will be colored orange. Remember to add in your keyframes to save your work.

Alt text


Animate

Animating can be a tedious process and will take some time to have something you're proud of! For more help you can watch this great Blender tutorial on keyframing Here!

Once you finish keyframing, lets move onto baking that beautiful animation into the model itself! 👏

Alt Text


Bake Your Animation
4. To bake your animation into your model, click Object, Animation, Bake Animation. A menu will pop up with some advanced settings. Click OK.

Alt Text

Let's look under our timeline to rename our new baked animation.

Alt Text


Export
5. Now it's time to export! Go up to File, Export, GTLF.

Alt Text

Once you have selected the export destination and name, let's change the file format to GLTF Embedded.

Alt Text


Yay!

You have successfuly exported a GLTF with a baked Non-Linear animation! 👏

6. Now import the model into ProViz.

Upload Button


Animated GLTFs in Proviz

Once you have your GLTF imported into ProViz, let's add a Model Element into a scene and test it out.

Animation Settings

Under your model's Properties tab open the Animation panel. Here you can play a single animation automatically and control some basic settings.

Alt Text

If you want to trigger your animation as an Event, drop your Model Element into the Flow Editor.

3D Graph
When your model has multiple animation tracks they will appear under *Expanded Animation Services*. You can add logic to your scene by adding Event -> Services to trigger a specific animation track.

See the Flow Editor Lesson for more information on Element Nodes.


info

Once you're ready, Save -> Publish -> Share!

Alt Text


Lesson Complete

⭐️ ⭐️ ⭐️